FROM hyperf/hyperf:8.0-alpine-v3.14-swoole

RUN apk add --no-cache openssl-dev \
    && pecl install mongodb \
    && echo "extension=mongodb.so" > /etc/php8/conf.d/mongodb.ini
